﻿<!DOCTYPE html>
@using System.Web.Optimization
@using Telerik.Web.Mvc.UI
@using EC.Extensions
<html>
<head>
    <title>@ViewBag.Title</title>
    
    @RenderSection("head", required: true)
    @( Html.Telerik().StyleSheetRegistrar()
               .DefaultGroup(group => group
                                          .Add("telerik.common.css")
                                          .Add("telerik." + Html.GetCurrentTheme() + ".css")
                                          .Add("telerik.rtl.css")
                                          .Combined(true)
                                          .Compress(true)))
    <script type="text/javascript">
        $(document).ready(function () {
            prettyPrint();
        });
    </script>
</head>
<body >
    <div class="container_12">
        <div class="grid_12">
            <div class="grid_10 alpha">
                <h1>@ViewBag.Title</h1>
            </div>
            <div class="grid_2 omega">
                @if (Request.IsAuthenticated)
                {
                    @Html.ActionLink("Logout", "LogOff", "Account", new { area = "" }, null)
                }
            </div>
            <div class="clear"></div>
            <div class="grid_12">
                <ul >
                    @Html.Partial("_Menu")
                </ul>
            </div>
        </div>
        <div class="clear"></div>
        <div class="grid_12">
            @RenderBody()
            <div id="footer">
            </div>
        </div>
    </div>
    @(Html.Telerik().ScriptRegistrar().jQuery(false))
</body>
</html>
